import service from '@/utils/request'
// eslint-disable-next-line no-unused-vars
const { httpPostForm, httpPost, httpGet } = service
//加工退料
const request = {
    //根据条件分页查询加工退料
    processReturn (params) {
        return httpPost({
            url: '/material/processingReturn/listByEntity',
            params
        })
    },
    //新增加工退料
    AddProcessReturn (params) {
        return httpPost({
            url: '/material/processingReturn/create',
            params
        })
    },
    //修改加工退料
    EditProcessReturn (params) {
        return httpPost({
            url: '/material/processingReturn/update',
            params
        })
    },
    //修改原物资明细
    EditRawMaterialsList (params) {
        return httpPost({
            url: '/material/processingReturn/updateRawMaterialsList',
            params
        })
    },
    //修改成品物资明细
    EditFinishedGoodsList (params) {
        return httpPost({
            url: '/material/processingReturn/updateFinishedGoodsList',
            params
        })
    },

}

export default request